package com.itheima.stock;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author byzhao
 * @version 1.0
 * @description 引导类
 * @date 2022/10/12 15:16:00
 */
@Slf4j // 可以在方法种直接使用日志对象 log
@SpringBootApplication
@MapperScan(basePackages = "com.itheima.stock.mapper")
public class StockApp {

    public static void main(String[] args) {
        SpringApplication.run(StockApp.class,args);
        log.info("项目启动完成.........");
    }

}
